package cn.sunxyz.modules.memory;

import java.util.Collection;
import java.util.Date;

/**
 * 节点之间的链接信息
 * Created by yangrd on 2017/5/11.
 */
public interface NodeLinkInfoManger<V> {

    void addRecord(V value, V... friends);

    Collection<Date> getUseDate(V value, V friend);

    /**
     * 使用次数
     * Created by yangrd on 2017/5/11 16:09.
     */
    Integer usageCount(V value, V friend);
}
